package com.zou.jokes.beans;

import java.util.List;

/**
 * Created by zou on 2016/6/3.
 */
public class JokesBean {

    /**
     * error_code : 0
     * reason : Success
     * result : {"data":[{"content":"上帝为我关上一扇门，就肯定会为我打开一扇窗！当我走向这扇窗户时，我发现，隔壁老王光着身子站在了空调外机上。","hashId":"33f4a0c9b53bbd8ed657d7c2ec7c759a","unixtime":1464675231,"updatetime":"2016-05-31 14:13:51"}]}
     */

    private int error_code;
    private String reason;
    private ResultBean result;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * content : 上帝为我关上一扇门，就肯定会为我打开一扇窗！当我走向这扇窗户时，我发现，隔壁老王光着身子站在了空调外机上。
         * hashId : 33f4a0c9b53bbd8ed657d7c2ec7c759a
         * unixtime : 1464675231
         * updatetime : 2016-05-31 14:13:51
         */

        private List<DataBean> data;

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean extends BaseDataEntity {
            public DataBean(String content, String hashId, long unixtime, String updatetime) {
                super(content, hashId, unixtime, updatetime);
            }
        }
    }
}
